import axios from 'axios'
let addMenu = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/addMenu`, param)
}
let deleteMenu = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/deleteMenu`, param)
}
let updateMenu = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/updateMenu`, param)
}
let menuList = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/menuList`, param)
}
let menuTreeList = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/menuTreeList`, param)
}
let menuRoleList = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/menuRoleList`, param)
}
let setMenuRole = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/setMenuRole`, param)
}
let removeMenuRole = (param) => {
    return axios.post(`/nuaa-scs-hanjs/menuManage/removeMenuRole`, param)
}
export {
    menuList,
    menuTreeList,
    addMenu,
    updateMenu,
    deleteMenu,
    menuRoleList,
    setMenuRole,
    removeMenuRole,
}